package modele;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.StringTokenizer;


public class ClassWriter 
{
	private String destination;
	private String  classesToile;
	private ModeleLangage ml;
	
	
	
	public ClassWriter(String dest, ModeleJava modeleLangage, String classeToile) 
	{
		this.destination = dest;
		this.classesToile = classeToile;
		this.ml = modeleLangage;
	}
	
	public void write() throws IOException
	{
		ml.genereCode(this.destination);
	}
}